Release 10.1A: OpenEdge Development:
Progress 4GL Reference


CAPS function

Converts any lowercase letters in a character string expression to uppercase characters, and returns the resulting character string.

Syntax

CAPS ( expression ) 

expression

A constant, field name, variable name, or expression that results in a character string.

Example

In the following code example, the CAPS function converts the characters in the state field to uppercase:

r-caps.p
REPEAT:
    PROMPT-FOR customer.cust-num.
    FIND customer USING cust-num.
    UPDATE name address city state.
    customer.state = CAPS(customer.state).
    DISPLAY customer.state.
END. 

Notes

See also

LC function


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095